package chapter9;

import java.io.Serializable;

/**
 * @Author juzipi
 * @Date 2021/6/1 17:27
 * @Info
 */
public class MethodInnerStrucTest extends Object implements Comparable<String>, Serializable {

    public int num = 10;
    private static String string = "fangfadeneibujiekou";


    public void test1(){
        int count = 20;
        System.out.println("count="+count);
    }

    public static int test2(int cal){
        int result = 0;

        try {
            int value = 30;
            result = value / cal;
        } catch (Exception e) {
            e.printStackTrace();
        }
        return result;
    }

    @Override
    public int compareTo(String o) {
        return 0;
    }

}
